/**
 * fileName:  FruitStructureInfo.java
 * author:  huaimi
 * Company:  Cloudland Studio
 * Createdate:  2014-6-6 下午9:33:31
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2011
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-6-6          huaimi            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.masterdata.bean;

import java.util.List;

/**
 * <pre>
 * 水果结构的领域层属性操作接口
 * </pre>
 * 
 * @ClassName FruitStructureInfo
 * @author huaimi
 * @version %I%, %G%
 * @see
 * @since JDK1.6
 * 
 */
public interface FruitStructure {
	/**
	 * 
	 * <pre>
	 * 获取结构编号
	 * </pre>
	 * 
	 * @return
	 */
	String getId();

	/**
	 * 
	 * <pre>
	 * 获取部位名称
	 * </pre>
	 * 
	 * @return
	 */
	String getName();

	/**
	 * 
	 * <pre>
	 * 获取部位描述
	 * </pre>
	 * 
	 * @return
	 */
	String getDescribe();

	/**
	 * 
	 * <pre>
	 * 获取部位类型
	 * </pre>
	 * 
	 * @return
	 */
	Stead getStead();

	/**
	 * 
	 * <pre>
	 * 设置部位名称
	 * </pre>
	 * 
	 * @param siteName
	 */
	void setName(String siteName);

	/**
	 * 
	 * <pre>
	 * 设置部位描述
	 * </pre>
	 * 
	 * @param siteDescribe
	 */
	void setDescribe(String siteDescribe);

	/**
	 * 
	 * <pre>
	 * 设置部位类型
	 * </pre>
	 * 
	 * @param siteType
	 */
	void setStead(Stead stead);
	
	/**
	 * <pre>
	 * 添加功效
	 * </pre>
	 *
	 * @param efficacyId 功效编号   
	 */
	void addEfficacy(String efficacyId, Integer weight);
	
	/**
	 * <pre>
	 * 添加功效
	 * </pre>
	 *
	 * @param efficacy 功效对象   
	 */
	void addEfficacy(FruitEfficacy efficacy);
	
	/**
	 * <pre>
	 * 获取结构包含的功效
	 * </pre>
	 *
	 * @return   
	 */
	List<FruitEfficacy> getEfficacyInfo();

}
